package com.shanyue.service.impl;

import com.shanyue.mapper.UserMapper;
import com.shanyue.pojo.User;
import com.shanyue.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceimpl implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public User login(String username, String password) {
        return userMapper.login(username,password);
    }
}
